package com.zmj.sy.mom.srv.aps.bean.vo.plate;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
public class PlatePickListResVo {

    private Integer id;

    @ApiModelProperty("钢板物料编号")
    private String materCode;

    @ApiModelProperty("钢板物料名称")
    private String materName;

    @ApiModelProperty("垛位，调用WMS获得")
    private String storehouseId;

    @ApiModelProperty("层号，调用WMS获得")
    private Integer layer;

    @ApiModelProperty("套料图纸")
    private String nestingDrawing;

    @ApiModelProperty("材质")
    private String texture;

    @ApiModelProperty("厚度/规格型号")
    private String norm;

    @ApiModelProperty("重量")
    private BigDecimal weight;


    @ApiModelProperty("领料状态:未领料,完成")
    private Integer status;

    @ApiModelProperty("计划开始时间,就是此钢板上所有零件的最早切割时间+16个小时")
    private LocalDateTime planStartDateTime;

    @ApiModelProperty("计划完成时间")
    private LocalDateTime planEndDateTime;

    @ApiModelProperty("领料人ID")
    private Integer pickUserId;

    @ApiModelProperty("领料人名称")
    private String pickUserName;

    @ApiModelProperty("领料时间")
    private LocalDateTime pickDateTime;

    // 调用WMS生成领料单
    @ApiModelProperty("钢板出库时间(WMS主动触发)")
    private LocalDateTime outDateTime;

    @ApiModelProperty("领料编号")
    private String pickingListNo;

    @ApiModelProperty("套料的钢板ID，用于查询钢板上套料的零件")
    private Integer nestPlateId;

    @ApiModelProperty("套料图号 切割编号")
    private String nestId;




}
